package yinwei.bo.common.entry;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class actice {
    private int id;
    private int userId;
    private String title;
    private String content;
    private String writer;
    private int viewCount;
    private int CommentCount;
    private int status;
    private String auditing;
    private int likeNum;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private String category;
    private int publish;
    private int top;
    private int zan;
}
